(${etc}DOC): Ignore error from rm.
authorRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 07:19:41 +0000 (07:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 07:19:41 +0000 (07:19 +0000)
(MSDOS_SUPPORT): New variable.
(lisp): Use MSDOS_SUPPORT.

src/Makefile.in

index d1f699d9797e517b8afa969294324edb24c0b427..9a45fb8324689fb5c05212b79982f6f5ff56aadd 100644 (file)
@@ -525,6 +525,12 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj)
 #define VMS_SUPPORT
 #endif
 
+#ifdef MSDOS
+#define MSDOS_SUPPORT ${lispdir}ls-lisp.elc ${lispdir}disp-tab.elc ${lispdir}dos-fns.elc ${lispdir}mouse.elc
+#else
+#define MSDOS_SUPPORT
+#endif
+
 /* List of Lisp files loaded into the dumped Emacs.  It's arranged
    like this because it's easier to generate it semi-mechanically from
    loadup.el this way.
@@ -560,6 +566,7 @@ lisp= \
        ${lispdir}text-mode.elc \
        ${lispdir}vc-hooks.elc \
        VMS_SUPPORT \
+       MSDOS_SUPPORT \
        ${lispdir}window.elc \
        ${lispdir}version.el
 
@@ -600,7 +607,7 @@ emacs: temacs ${etc}DOC ${lisp}
 #endif /* ! defined (CANNOT_DUMP) */
 
 ${etc}DOC: ${libsrc}make-docfile ${obj} ${lisp}
-       rm -f ${etc}DOC
+       -rm -f ${etc}DOC
        ${libsrc}make-docfile -d ${srcdir} ${obj} ${SOME_MACHINE_OBJECTS} \
          ${lisp} > ${etc}DOC